cmake_minimum_required(VERSION 2.6)
include_directories ( ../)
link_libraries(pthread net thread share)
SET(EXECUTABLE_OUTPUT_PATH ../../bin)
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES CMakeFiles )
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS}  -O0 -Wall -g -ggdb")
SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -s  -O3 -Wall")
set(CMAKE_BUILD_TYPE Debug)
AUX_SOURCE_DIRECTORY(. SRC)
add_executable(testnet ${SRC})


